
<textarea id="demo" name="content" required lay-verify="required" placeholder="详细描述" class="layui-textarea fly-editor" style="height: 260px;">

</textarea>
<script>
    layui.use('layedit', function(){
        var layedit = layui.layedit;
        layedit.build('demo',  {
            tool: ["strong", "italic", "underline", "del", "|", "left", "center", "right", "|", "link", "unlink", "face","code", "image"]
        }); //建立编辑器
    });
</script>

